<?php

namespace AdminBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * LogRoomJoined
 *
 * @ORM\Table(name="log_room_joined")
 * @ORM\Entity
 */
class LogRoomJoined
{
    /**
     * @var string
     *
     * @ORM\Column(name="webchat_username", type="string", length=45, nullable=false)
     */
    private $webchatUsername = '';

    /**
     * @var integer
     *
     * @ORM\Column(name="webchat_id", type="integer", nullable=false)
     */
    private $webchatId = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="member_user_id", type="integer", nullable=false)
     */
    private $memberUserId = '0';

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="ctime", type="datetime", nullable=false)
     */
    private $ctime = 'CURRENT_TIMESTAMP';

    /**
     * @var integer
     *
     * @ORM\Column(name="room_id", type="integer", nullable=false)
     */
    private $roomId = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="room_name", type="string", length=45, nullable=false)
     */
    private $roomName;

    /**
     * @var integer
     *
     * @ORM\Column(name="room_type", type="integer", nullable=false)
     */
    private $roomType = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="room_tags", type="string", length=45, nullable=false)
     */
    private $roomTags = '';

    /**
     * @var integer
     *
     * @ORM\Column(name="status", type="integer", nullable=false)
     */
    private $status = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;



    /**
     * Set webchatUsername
     *
     * @param string $webchatUsername
     *
     * @return LogRoomJoined
     */
    public function setWebchatUsername($webchatUsername)
    {
        $this->webchatUsername = $webchatUsername;

        return $this;
    }

    /**
     * Get webchatUsername
     *
     * @return string
     */
    public function getWebchatUsername()
    {
        return $this->webchatUsername;
    }

    /**
     * Set webchatId
     *
     * @param integer $webchatId
     *
     * @return LogRoomJoined
     */
    public function setWebchatId($webchatId)
    {
        $this->webchatId = $webchatId;

        return $this;
    }

    /**
     * Get webchatId
     *
     * @return integer
     */
    public function getWebchatId()
    {
        return $this->webchatId;
    }

    /**
     * Set memberUserId
     *
     * @param integer $memberUserId
     *
     * @return LogRoomJoined
     */
    public function setMemberUserId($memberUserId)
    {
        $this->memberUserId = $memberUserId;

        return $this;
    }

    /**
     * Get memberUserId
     *
     * @return integer
     */
    public function getMemberUserId()
    {
        return $this->memberUserId;
    }

    /**
     * Set ctime
     *
     * @param \DateTime $ctime
     *
     * @return LogRoomJoined
     */
    public function setCtime($ctime)
    {
        $this->ctime = $ctime;

        return $this;
    }

    /**
     * Get ctime
     *
     * @return \DateTime
     */
    public function getCtime()
    {
        return $this->ctime;
    }

    /**
     * Set roomId
     *
     * @param integer $roomId
     *
     * @return LogRoomJoined
     */
    public function setRoomId($roomId)
    {
        $this->roomId = $roomId;

        return $this;
    }

    /**
     * Get roomId
     *
     * @return integer
     */
    public function getRoomId()
    {
        return $this->roomId;
    }

    /**
     * Set roomName
     *
     * @param string $roomName
     *
     * @return LogRoomJoined
     */
    public function setRoomName($roomName)
    {
        $this->roomName = $roomName;

        return $this;
    }

    /**
     * Get roomName
     *
     * @return string
     */
    public function getRoomName()
    {
        return $this->roomName;
    }

    /**
     * Set roomType
     *
     * @param integer $roomType
     *
     * @return LogRoomJoined
     */
    public function setRoomType($roomType)
    {
        $this->roomType = $roomType;

        return $this;
    }

    /**
     * Get roomType
     *
     * @return integer
     */
    public function getRoomType()
    {
        return $this->roomType;
    }

    /**
     * Set roomTags
     *
     * @param string $roomTags
     *
     * @return LogRoomJoined
     */
    public function setRoomTags($roomTags)
    {
        $this->roomTags = $roomTags;

        return $this;
    }

    /**
     * Get roomTags
     *
     * @return string
     */
    public function getRoomTags()
    {
        return $this->roomTags;
    }

    /**
     * Set status
     *
     * @param integer $status
     *
     * @return LogRoomJoined
     */
    public function setStatus($status)
    {
        $this->status = $status;

        return $this;
    }

    /**
     * Get status
     *
     * @return integer
     */
    public function getStatus()
    {
        return $this->status;
    }

    /**
     * Get id
     *
     * @return integer
     */
    public function getId()
    {
        return $this->id;
    }
}
